<?
/******************************************
* Realtime-Billboard
* ---------------------------
* A PHP script for digital billboard.
* 
* For more information: http://code.google.com/p/realtime-billboard/
* This project is under an open source license (Apache License, Version 2.0)
* http://www.apache.org/licenses/LICENSE-2.0
*
*******************************************/

//include the zemplate main class
include ("zemplate/main.class.php");

// Load from template file name..
$loader = new Zemplate("main.ztp"); // load the zemplate

// Variables
$loader->set("title", "Realtime Billboard"); // set the title

// Javascript Section
$loader->callFunc("LoadJavascript", "head", array("zemplate/js/jquery-1.6.2.min.js")); // Load jQuery
//$loader->callFunc("LoadDB", "head", array("pref", true)); // Load PrefDB
//$loader->callFunc("FadeIn", "head", array()); // Load FadeIn jQuery Function
$loader->callFunc("LoadJavascript", "head", array("zemplate/js/jquery.marquee.js")); // Load jQuery Marquee smoother
$loader->callFunc("LoadJavascript", "head", array("zemplate/js/slideshow.js")); // Slideshow Javascript
$loader->callFunc("LoadJavascript", "head", array("zemplate/js/highcharts.js")); // Highcharts Javascript
$loader->callFunc("LoadJavascript", "head", array("zemplate/js/gray.js")); // Highcharts' Gray Template
$loader->callFunc("LoadJavascript", "head", array("zemplate/js/clock.js")); // Clock Javascript
$loader->callFunc("LoadJavascript", "head", array("zemplate/js/video.js")); // VideoJS Javascript
$loader->callFunc("Marquee", "head", array()); // Load Marquee jQuery Function
$loader->callFunc("HighChart", "head", array()); // Load HighChart Function
$loader->callFunc("VideoReady", "head", array()); // Load VideoJS Function
$loader->callFunc("LoadCSS", "head", array("template/bcc/css/video-js.css")); // Load VideoJS CSS
$loader->callFunc("LoadCSS", "head", array("template/bcc/css/style.css")); // Load Style.css


echo $loader->output(); // load the page

?>